<ion-content>
    <ion-content>
        <app-main-header [showBack]="true" [title]="''"></app-main-header>
        <div class="page-content login-page">
            <div>
                <div class="login-title">{{currentType === '2' ? '设置密码' : '重置密码'}}</div>
                <div class="page-form">
                    <p *ngIf="currentType === '2'">
                        <input class="form-input" [(ngModel)]="formData.oldPassword"
                               placeholder="请输入旧密码" type="text">
                    </p>
                    <p>
                        <input class="form-input" [(ngModel)]="formData.password"
                               placeholder="请输入新密码" type="text">
                    </p>
                    <p>
                        <input class="form-input" [(ngModel)]="confirmPassword"
                               placeholder="请再次输入新密码" type="text">
                    </p>
                </div>
                <div class="login-btn-block">
                    <button class="block-btn" (click)="submitData()">确定</button>
                </div>
            </div>
        </div>
    </ion-content>

</ion-content>
